package com.ruibang.glass.produce.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruibang.glass.produce.constant.Constants;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-03-14  11:13
 * @Description: TODO
 * @Version: 1.0
 */

@Data
public class GlassIdTrackReq extends PageRequest {
    @ApiModelProperty("玻璃ID(热端玻璃ID)")
    private String glassId;
    @ApiModelProperty("流水号(NEWID)")
    private List<String> newId;
    @ApiModelProperty("原编号()")
    private String oldId;
    @ApiModelProperty("投入口")
    private String port;
    @ApiModelProperty("投料开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feedStartTime;
    @ApiModelProperty("投料结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feedDndTime;
    @ApiModelProperty("横切开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime stationStartTime;
    @ApiModelProperty("横切结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime stationDndTime;


    private String isPage = Constants.ONE_STR;
    private long feedStartTs;
    private long feedDndTs;
    private List<String> coldIds;
}
